package com.jht.mymvvm.activity.homepage

import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider

class HomepageViewModelFactory(private val countReserved:Int): ViewModelProvider.Factory {
    override fun <T : ViewModel?> create(modelClass: Class<T>): T {
         return HomepageViewModel(countReserved) as T
    }
}